//
//  HomepageTableViewCell.m
//  CenturyInterconnection
//
//  Created by Tian Wei You on 16/4/5.
//  Copyright © 2016年 Shanghai DuRui Information Technology Company. All rights reserved.
//

#import "HomepageTableViewCell.h"

@implementation HomepageTableViewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self)
    {
        _titleImageView=[[UIImageView alloc]init];
        _titleImageView.frame=CGRectMake(ACTUAL_WIDTH(0), ACTUAL_HEIGHT(0), KScreenWidth, ACTUAL_HEIGHT(210));
        _titleImageView.backgroundColor=[UIColor whiteColor];
        [self addSubview:_titleImageView];
        
        UILabel *viewEditorialLabel=[[UILabel alloc]initWithFrame:CGRectMake(ACTUAL_WIDTH(60), ACTUAL_HEIGHT(230), ACTUAL_WIDTH(260), ACTUAL_HEIGHT(50))];
        viewEditorialLabel.text=@"View Editorial";
        viewEditorialLabel.layer.borderWidth=2;
        viewEditorialLabel.layer.borderColor=[UIColor blackColor].CGColor;
        viewEditorialLabel.textAlignment=1;
        [self addSubview:viewEditorialLabel];
        
//        self.backgroundColor=[UIColor yellowColor];
    }
    return self;
    
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
